#!/bin/bash

. server_config.sh
export JAVA_OPTS="$PROPERTIES -Xmx500M -Xms100M"

if [ ! -e /tmp/darren-tomcat-logs ]; then
    mkdir /tmp/darren-tomcat-logs
fi

if [ -e /tmp/$USER-tomcat-logs ]; then
    rm -fr /tmp/$USER-tomcat-logs
fi

if [ ! -e /tmp/$USER-tomcat-logs ]; then
    mkdir /tmp/$USER-tomcat-logs
fi

start_tomcat.sh
